package com.evildog.workspace.system.application.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * User request body
 * </p>
 *
 * @author evildog
 * @since 2020-07-18
 */
@Data
@Accessors(chain = true)
@ApiModel(value="User查询参数/request body")
public class UserUpdatePassParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "原密码")
    @NotBlank(message = "原密码不能为空")
    private String originalPassword;

    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;

    @ApiModelProperty(value = "确认密码")
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;


}
